Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Operation: Index of Coincidence #571

Merged
merged 2 commits into from
Jun 27, 2019
Merged

Conversation

Ge0rg3
Copy link
Contributor

@Ge0rg3 Ge0rg3 commented Jun 8, 2019

This PR adds the Index of Coincidence operation, which calculates the IC of any given text (see here).
This acts as a kind of mix between entropy and frequency analysis, and is often used to automatically determine whether ciphers are decoded.
You can see an example output here.

I capped the graph output at 0.25, as otherwise the data is almost always crammed in the first quarter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants